import exam from '../pages/exam'
import login from '../pages/login'
import register from '../pages/register'
import result from '../pages/result'

const routes = [
    {
        from:'/',
        to:"/login"
    },
    {
        path:'/login',
        com: login
    },
    {
        path:'/register',
        com: register
    },
    {
        path:'/exam',
        com: exam
    },
    {
        path:'/result',
        com: result
    }
]

export default routes;